package com.yuetong.employee.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yuetong.common.annotation.Excel;
import com.yuetong.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 入职信息对象 yt_employee_entry_info
 * 
 * @author  卓晓君
 * @date 2025-04-24
 */
public class YtEmployeeEntryInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入职信息唯一标识符 */
    private Long entryId;

    /** 关联职工ID */
    @Excel(name = "关联职工ID")
    private Long employeeId;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 职位 */
    @Excel(name = "职位")
    private String position;

    /** 入职日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryDate;

    /** 薪资 */
    @Excel(name = "薪资")
    private BigDecimal salary;

    /** 工作经验 */
    @Excel(name = "工作经验")
    private String workExperience;

    /** 教育背景 */
    @Excel(name = "教育背景")
    private String educationBackground;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setEntryId(Long entryId) 
    {
        this.entryId = entryId;
    }

    public Long getEntryId() 
    {
        return entryId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setEntryDate(Date entryDate) 
    {
        this.entryDate = entryDate;
    }

    public Date getEntryDate() 
    {
        return entryDate;
    }
    public void setSalary(BigDecimal salary) 
    {
        this.salary = salary;
    }

    public BigDecimal getSalary() 
    {
        return salary;
    }
    public void setWorkExperience(String workExperience) 
    {
        this.workExperience = workExperience;
    }

    public String getWorkExperience() 
    {
        return workExperience;
    }
    public void setEducationBackground(String educationBackground) 
    {
        this.educationBackground = educationBackground;
    }

    public String getEducationBackground() 
    {
        return educationBackground;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("entryId", getEntryId())
            .append("employeeId", getEmployeeId())
            .append("department", getDepartment())
            .append("position", getPosition())
            .append("entryDate", getEntryDate())
            .append("salary", getSalary())
            .append("workExperience", getWorkExperience())
            .append("educationBackground", getEducationBackground())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
